package com.firmail.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResponseInfo<T> {

	private T data;
	private String message;
	private int code;

	public ResponseInfo(T data){
		this.data=data;
	}

	public ResponseInfo(int code, String message){
		this.code=code;
		this.message=message;
	}

}
